//
//  XMShareModel.h
//  XunMi
//
//  Created by MacBook on 2024/3/4.
//  Copyright © 2024 TieZhu. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

// 分享类型
typedef NS_ENUM(NSUInteger, XMShareType) {
    XMShareTypeSession = 0,     // 聊天界面
    XMShareTypeTimeline,    // 朋友圈
    XMShareTypeFavorite     // 收藏
};

@interface XMShareModel : NSObject

/**
 分享的图片对象,注意：分享图片大小不能超过32K，自己需要处理一下
 */
@property (nonatomic, strong) UIImage *share_image;


/**
 分享的类型
 */
@property (nonatomic, assign) XMShareType share_type;

@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *icons;
@property (nonatomic, copy) NSString *describe;
@property (nonatomic, copy) NSString *invite_code;
@property (nonatomic, copy) NSString *invite_link;
@property (nonatomic, copy) NSString *poster_link;


@end

NS_ASSUME_NONNULL_END
